package com.whsxt.sys.service;

import com.whsxt.sys.domain.Permission;
import com.whsxt.sys.domain.Role;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 贺炯
 * @since 2019-09-24
 */
public interface IRoleService extends IService<Role> {

	List<Permission> selectPermissionByRid(Integer rid);

	void savePidByRid(Integer rid, Integer[] pid);

	List<Integer> selectRidByUid(Integer id);

	void insertRidUid(Integer uid, Integer[] rid);

	List<Integer> selectPidByRid(List<Integer> roleList);

}
